<%@page import="GUI.EntityGUI"%>
<%@page import="GUI.LanguageLoader"%>
<%
            String name = request.getParameter("entity");
            LanguageLoader language = new LanguageLoader();
            EntityGUI entity;
            if (null != session.getAttribute("username")) {
                entity = new EntityGUI(name, session.getAttribute("username").toString(), session.getAttribute("gruppo").toString());
            } else {
                entity = new EntityGUI(name);
            }
%>

<h2>
    <%= language.getSysCaption("CreateNewEntity")%><br>
    <b><%= name%></b>
</h2>

<form id="InputForm">
    <%= entity.getHTMLforAllInputForInsert()%>
    <br /><br />
    <div class="descrizione"><b>*<%= language.getSysCaption("formSecurityMessage") %></b></div>
    <div style="display: none;" id="okButton">
        <input type="submit" value="<%= language.getSysCaption("confirmButton")%>" />
    </div>
</form>